projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de0942b
)
inspector: Allow picking insensitive widgets again
author
Matthias Clasen
<mclasen@redhat.com>
Sun, 7 Apr 2019 17:23:17 +0000
(17:23 +0000)
committer
Matthias Clasen
<mclasen@redhat.com>
Sun, 7 Apr 2019 17:23:17 +0000
(17:23 +0000)
Use the new argument to gtk_widget_pick to allow picking
insensitive widgets.
Closes: https://gitlab.gnome.org/GNOME/gtk/issues/51
gtk/inspector/inspect-button.c
patch
|
blob
|
history
diff --git
a/gtk/inspector/inspect-button.c
b/gtk/inspector/inspect-button.c
index 430d3c49e58e1fa0ceabff9feabaf2e63ba1a211..c39ef5a29831a20684a39487e9178f48f6d8fefd 100644
(file)
--- a/
gtk/inspector/inspect-button.c
+++ b/
gtk/inspector/inspect-button.c
@@
-55,7
+55,7
@@
find_widget_at_pointer (GdkDevice *device)
gdk_surface_get_device_position (gtk_widget_get_surface (widget),
device, &x, &y, NULL);
- widget = gtk_widget_pick (widget, x, y,
0
);
+ widget = gtk_widget_pick (widget, x, y,
GTK_PICK_ALL
);
}
return widget;